<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="yes" name="apple-mobile-web-app-capable" /> 
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/css.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/content.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/static/mobile/css/common.css" />
<title><?php echo CON_WEBNAME;?></title>
</head>

<body>
<!--头部开始-->
<div class="top">
<!--	<img src="/static/mobile/images/ychapplogo.png">-->
    我要理财
    <a href="javascript:history.go(-1)" class="new-a-back">
    	<span>返回</span>
    </a>
</div>
<!--头部结束-->

<!--主体内容开始-->
<div class="money-list qjys">
<div class="content-top fl">
	<div class="col">
    	<img src="<?php echo is_file('./static/data/avatar/'.$user_obj['user_id'].'_avatar_big.jpg') ? '/static/data/avatar/'.$user_obj['user_id'].'_avatar_big.jpg':'/static/data/avatar/noavatar_big.gif';?>" width="61" height="70" alt="" title="" />
    </div>
    <div class="cont">
    	<h2><?php echo $borrow['title'];?></h2>
        <p class="an-lz"><span class="lz-iocn"><?php echo $borrow_type[$borrow['ftype']];?></span></p>
        <?php if($borrow['funds'] > 0){?> <p class="an-lz"><span class="lz-iocn">奖励</span></p><?php }?>
        <div class="clearfloat"></div>
        <p class="day">发布日期:<span><?php echo date('Y-m-d',$borrow['verify_time']);?></span></p>
    </div>
</div>
<a href="/mobile/borrow/tender_list/<?php echo $borrow['id'];?>.html">
<div class="mony-cont">
    	<ul>
        	<li>借款金额：<span class="hszt"><?php echo number_format($borrow['account'],2);?>元</span></li>
            <li>年化率：<span class="hszt"><?php echo $borrow['apr'];?>%</span></li>
            <li>借款期限：<span class="hszt"><?php if($borrow['is_day'] == 1){echo $borrow['time_limit_day']."天";}else{echo $borrow['time_limit']."个月";}?></span></li>
            <li>奖励：<span class="hszt"><?php echo $borrow['funds'];?>%</span></li>
            <li>还款方式：<span><?php echo $borrow_style[$borrow['style']];?></span></li>
        </ul>
 <div class="clearfloat"></div>
 <div class="jdt fl">
 	<p>进度：</p><div class="ny-jdt-bg fl">
    	<span class="jd" style="width:<?php echo round($borrow['account_yes']/$borrow['account']*100, 2);?>%;"></span>
    </div>
    <p style="margin-left:5px;"><?php echo round($borrow['account_yes']/$borrow['account']*100, 2);?>%</p>
 </div>
                
    </div>
 <?php if($borrow['ftype'] == 4){?>
 <div class="code">
	  <ul>
      	<li>每份金额：<span><?php echo number_format($borrow['lowest_account']);?>元</span></li>
        <li>还剩：<span><?php echo ($borrow['account']/$borrow['lowest_account'])-($borrow['account_yes']/$borrow['lowest_account']);?>份</span></li>
        <li>已认购：<span><?php echo $borrow['account_yes']/$borrow['lowest_account'];?>份</span></li>
      </ul>		
  </div>
  <?php }?>
  </a>
  <div class="detail">
  	<h2>借款详情：</h2>
    <p><?php echo $borrow['content'];?> </p>


<div class="tb-btn">
<?php if($borrow['ftype'] == 4){?>
<a href="/mobile/borrow/lz_tender_view/<?php echo $borrow['id'];?>.html">投标</a>
<?php }else{?>
<a href="/mobile/borrow/tender_view/<?php echo $borrow['id'];?>.html">投标</a>
<?php }?>
</div>

  </div>
    
</div>
<!--主体内容结束-->

<!--底部信息开始-->
<footer class="bottom-nav">
	<ul class="ulnav">
    	<li class="active"><a href="/mobile/borrow/index.html"><span class="icon lc"></span>
        <span>我要理财</span>
        </a></li>
    	<li><a href="/mobile/ucenter/index.html"><span class="icon zh"></span>
        <span>我的账号</span>
        </a></li>
    	<li><a href="/mobile/account/account_list.html"><span class="icon jy"></span>
        <span>交易记录</span>
        </a></li>
    	<li><a href="/mobile/notices/index.html"><span class="icon sm"></span>
        <span>公告说明</span>
        </a></li>
    </ul>
</footer>
<div style="display:none;">
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fbddfbd985badab4bfe8fee07203cc21e' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://s11.cnzz.com/stat.php?id=4565714&web_id=4565714&show=pic" language="JavaScript"></script>
</div>
<!--底部信息结束-->
</body>
</html>
